unfurl_links=False for avoiding preview in slack messages#2064
unfurl_links=False for avoiding preview in slack messages#2064
Conversation
|
👋 @GuyEshdat |
WalkthroughA single parameter Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
elementary/messages/messaging_integrations/slack_web.py (1)
107-107: Parameter support confirmed. Theunfurl_links=Falseparameter is fully supported in slack-sdk'schat_postMessagemethod and correctly prevents link previews in Slack messages.Consider making this configurable via a constructor parameter if different behavior is needed in the future.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
elementary/messages/messaging_integrations/slack_web.py(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: test / test
- GitHub Check: code-quality
Before the change:

After the change:

null
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.